﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace ESB
{
    [XmlType("Root")]
    public class Cz
    {
        private int _type;
        private string _empi;
        public enum CzType
        {
            His预缴费 = 0,
            员工冲餐费 = 1,
            会员充值 = 2,
            第三方应用 = 3,
            His门诊预缴费 = 5,
            His住院预缴费 = 6
        }
        private string _ext;
        private string _zfid;
        private string _memo;
        private decimal _je;
        private decimal _jf;      
        private string _action;
        private string _HisLSH;

        [XmlElement]
        public decimal Je
        {
            get { return _je; }
            set { _je = value; }
        }

        [XmlElement]
        public decimal Jf
        {
            get { return _jf; }
            set { _jf = value; }
        }

        [XmlElement]
        public int Type
        {
            get { return _type; }
            set { _type = value; }
        }

        [XmlElement]
        public string Empi
        {
            get { return _empi; }
            set { _empi = value; }
        }

        [XmlElement]
        public string Memo
        {
            get { return _memo; }
            set { _memo = value; }
        }

        [XmlElement]
        public string ZFID
        {
            get { return _zfid; }
            set { _zfid = value; }
        }
        #region His充值时需要
        [XmlElement]
        public string Action
        {
            get { return _action; }
            set { _action = value; }
        }

        [XmlElement]
        public string HisLSH
        {
            get { return _HisLSH; }
            set { _HisLSH = value; }
        }
        #endregion

        [XmlAttribute]
        public string Ext
        {
            get
            {
                return _ext;
            }
            set
            {
                _ext = value;
            }
        }

        private Trial _trial;

        public Trial trial
        {
            get
            { 
                return _trial;
            }
            set
            {
                _trial = value;
            }
        }

    }
}
